<template>
  <div id="app">
    <!-- <div id="nav">
      <router-link to="/">Home</router-link> |
      <router-link to="/about">About</router-link> |
      <router-link to="/test">test</router-link> |
      <router-link to="/buju">buju</router-link> |
      <router-link to="/computeds">计算属性</router-link> |
      <router-link to="/tree">tree</router-link> |
      <router-link to="/search">高级搜索</router-link> |
      <router-link to="/selectTree">下拉树</router-link> |
      <router-link to="/tables">不规则表格</router-link> |
      <router-link to="/routerNesting">嵌套路由</router-link> |
      <router-link to="/formPage">form表单</router-link> |
      <router-link to="/mobile">手机端</router-link> |
      <router-link to="/numTo">数字滚动</router-link> |
      <router-link to="/animation">列表滚动</router-link> |
      <router-link to="/InfiniteScroll/index">无限滚动</router-link> |
      <router-link to="/leftRightScroll/index">左右联动菜单</router-link> |
      <router-link to="/boxModel/index">盒子模型</router-link> |
      <router-link to="/weChat/index">weChat</router-link> |
      <router-link to="/virtual/index">虚拟列表滚动</router-link> |
    </div> -->
    <router-view/>
  </div>
</template>

<style lang="less">
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  // text-align: center;
  color: #2c3e50;
  width: 100%;
  height: 100%;
}

#nav {
  padding: 30px;
  text-align: center;
  a {
    font-weight: bold;
    color: #2c3e50;

    &.router-link-exact-active {
      color: #42b983;
    }
  }
}
</style>
